<template>
  <div id="app">
    <!--路由的出口-->
    <keep-alive :include="cachePages">
      <router-view/>
    </keep-alive>
    <!--/路由出口-->
  </div>
</template>

<script>
  import { mapState } from 'vuex'
  
  export default{
    name:'App',
    computed: {
      ...mapState(['cachePages'])
    }
  }
</script>

<style scoped lang="less">
</style>
